]> dgit.raspbian.org Git - gnome-shell.git/commit
st: Use G_DECLARE_*_TYPE
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 24 Sep 2015 14:08:13 +0000 (16:08 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 15 Oct 2015 20:02:35 +0000 (22:02 +0200)
commitffe4eaf00d8780bdc6fb3d7aca3eda847e887007
treed4670a60ef4794231f85ea928d4a51a950810c28
parent2f88a7a1e15032bb91a2a732ee2eaad9e70fe3d2
st: Use G_DECLARE_*_TYPE

Cut down on boilerplate by using the (no longer that) new helper
macros. We don't care about breaking ABI in private libraries, so
use G_DECLARE_FINAL_TYPE even where the class struct used to be
exposed in the header, except for types we inherit from ourselves
(obviously) or where the class exposes any vfuncs (where changes
could affect inheritance in extensions).
36 files changed:
src/st/st-adjustment.c
src/st/st-adjustment.h
src/st/st-bin.c
src/st/st-bin.h
src/st/st-border-image.h
src/st/st-box-layout-child.h
src/st/st-box-layout.h
src/st/st-button.c
src/st/st-button.h
src/st/st-clipboard.h
src/st/st-drawing-area.c
src/st/st-drawing-area.h
src/st/st-entry.c
src/st/st-entry.h
src/st/st-focus-manager.h
src/st/st-icon.h
src/st/st-im-text.h
src/st/st-label.h
src/st/st-scroll-bar.c
src/st/st-scroll-bar.h
src/st/st-scroll-view-fade.c
src/st/st-scroll-view-fade.h
src/st/st-scroll-view.h
src/st/st-scrollable.c
src/st/st-scrollable.h
src/st/st-texture-cache.h
src/st/st-theme-context.c
src/st/st-theme-context.h
src/st/st-theme-node-private.h
src/st/st-theme-node-transition.c
src/st/st-theme-node-transition.h
src/st/st-theme-node.h
src/st/st-theme.c
src/st/st-theme.h
src/st/st-widget.c
src/st/st-widget.h